package test_2024_4_10_02_java;

import java.util.Scanner;

public class SalesClerk {
	
	public static String book(String bookName) {
		switch(bookName) {
		case "java":
			bookName = "《JAVA程序设计》（第二版）";
			break;
		case "C":
			bookName = "《C语言程序设计》";
			break;
		case "MySQL":
			bookName = "《MySQL》";
			break;
			default:
				bookName = "没有这本书~";
		}
		return bookName;
		
	}
	
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		System.out.println("书名：");
		String bookName = input.next();
		System.out.println(book(bookName));
		
		
		
	}
	
	

}
